
function saveInfo() {
	var id = $("#id").val();
	var saveUrl = "/system/menu/tSysMenu/addSave.do";
	if ($.SystemHelper.IsNotNullOrEmpty(id)) {
		saveUrl = "/system/menu/tSysMenu/updateSave.do";
	}
	
	$.SwalAjaxRequestHelper.AjaxRequest(saveUrl, $("#TSysMenuForm").serialize(), function(data) {
		 swal({
	     	title: "系统提示",
	        text: data.message,
	        type: "info",
	        confirmButtonColor: "#DD6B55",
	        confirmButtonText: "确定",
	        closeOnConfirm: true
		 }, function () {
	    	$.SystemHelper.ReloadParentPage();
		 });
	});
}

